<template>
    <div>
        <h2>父组件</h2>
    <h4>父组件里的num{{num}}--{{num1}}</h4>
    <hr>
        <!-- <son :aa="num" :cc="num1" @updata:aa="val=>num=val"
            @updata:cc="val=>num1=val" /> -->
            <son :aa.sync="num" :cc.sync="num1" />
    </div>
</template>
<script>
import son from './son.vue'
export default {
    components:{
        son
    },
    data(){
        return {
            num:123,
            num1:456
        }
    },
}
</script>